/*
 * Metadata.h
 *
 *  Created on: 2011-7-22
 *      Author:
 */

#ifndef METADATA_H_
#define METADATA_H_
#include <tinyxml.h>
#include "Tag.h"
namespace swfstream {

class Metadata: public Tag {
public:
	Metadata();
	virtual ~Metadata();
	char* metadata;
	virtual TiXmlElement* toTiXmlElement() {
		TiXmlElement*r = new TiXmlElement("_Metadata");
		//TiXmlElement*tmp=new TiXmlElement("metadata");
		TiXmlText *tmp = new TiXmlText(metadata);
		r->LinkEndChild(tmp);
		//tmp->SetValue(metadata);
		return r;
	}
};

} /* namespace swfstream */
#endif /* METADATA_H_ */
